package com.jzj.service.impl;

import com.jzj.pojo.Book;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface BookService {


    int addBook(Book book);


    int delBook(int id);


    int updateBook(Book book);


    List<Book> selectBook();


    List<Book> selectOneBook(String name);

    Book selectBookbyId(int id);

}
